package com.ushio.gougouwangguo.entity.mysql;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("Monster")
public class Monster {
    //怪物id
    @TableId("monster_id")
    private Long monsterId;
    //怪物攻击力
    @TableField("monster_attack_power")
    private Integer monsterAttackPower;
    //怪物血量
    @TableField("monster_blood_volume")
    private Integer monsterBloodVolume;
    //创建时间
    @TableField("create_time")
    private Date createTime;
    //修改时间
    @TableField("update_time")
    private Date updateTime;
    //创建人
    @TableField("create_user")
    private Long createUser;
    //修改人
    @TableField("update_user")
    private Long updateUser;
    //是否启用1是删除0是启用
    @TableField("remove")
    private boolean remove;
}
